package guice.boot.archive.spi.archive;

import java.io.IOException;
import java.net.URL;

/**
 * An archive represent an ark-biz-module
 */
public interface BizArchive extends Archive {

    /**
     * fetch classpath of archive to startup ark-biz module
     *
     * @return the classpath contained in ark-biz archive
     * @throws IOException throw io exception when get biz classpath
     */
    URL[] getUrls() throws IOException;

    /**
     * check whether the entry satisfy the given {@link EntryFilter} exists or not
     */
    boolean isEntryExist(EntryFilter entryFilter);

}